﻿@model JaxDug.ViewModels.SponsorListViewModel
<!DOCTYPE html>
<html>
<head>
    <title>Index</title>
</head>
<body>
    <div>
        <h1>
            Sponsors
        </h1>
        <div class="top_text">
            Please task some time to visit our sponsors who enable us to continue to hold meetings
            and grow our community here in the Jacksonville area. They make much of what we
            do possible.
        </div>
        <div class="sponsor_wrapper">
            @* TODO: Set up sponsor service to get list of sponsors from DB and create the content *@
            @foreach (var s in Model.RandomSponsorList)
            {
                <div class="sponsor_box">
                    <div class="sponsor_cell">
                        <a href="@s.Link" target="_blank">
                            <img src="@s.Image" alt="@s.Image@s.Title" class="borderless" /></a>
                    </div>
                </div>
            }
        </div>
    </div>
</body>
</html>